using System;

namespace ParallelTest
{
    public abstract class AbstractThreadData : IDisposable
    {
        public int ID;        
        public Int64 Result;

        public AbstractThreadData(int id)
        {
            ID = id;
        }

        public AbstractThreadData(int id, Int64 result)
        {
            ID = id;            
            Result = result;
        }        


        #region IDisposable Members

        public virtual void Dispose()
        {
            GC.SuppressFinalize(this);
        }

        #endregion
    }
}
